arm: mx6: gw_ventana: Define CONFIG_SYS_MALLOC_F_LEN
authorMarek Vasut <[email protected]>
Tue, 16 Dec 2014 13:09:17 +0000 (14:09 +0100)
committerStefano Babic <[email protected]>
Tue, 30 Dec 2014 13:05:50 +0000 (14:05 +0100)
commit7efefa9bd6dabaf0dcf4aa5f20254e2a9d99aaa8
tree78b9540e51ac9c6ed47c1cbd16b75966adf7e051
parentcd3c5896b6582e73cf6a6d48c7ecc29924fa3089
arm: mx6: gw_ventana: Define CONFIG_SYS_MALLOC_F_LEN

This board uses setup_i2c() in SPL. The setup_i2c() function internally
calls gpio_request(), which in turn internally calls strdup(). The strdup()
requires a running mallocator, so this patch makes the mallocator available.

Signed-off-by: Marek Vasut <[email protected]>
Cc: Igor Grinberg <[email protected]>
Cc: Nikita Kiryanov <[email protected]>
Cc: Sean Cross <[email protected]>
Cc: Simon Glass <[email protected]>
Cc: Stefano Babic <[email protected]>
Cc: Tim Harvey <[email protected]>
include/configs/gw_ventana.h